Re: [PATCHES] Updatable views
От | Bernd Helmle |
---|---|
Тема | Re: [PATCHES] Updatable views |
Дата | |
Msg-id | BC7ECC8BDBC7299D9529BC48@[172.26.14.247] обсуждение исходный текст |
Ответ на | Re: [PATCHES] Updatable views ("Jaime Casanova" <systemguards@gmail.com>) |
Список | pgsql-hackers |
--On Donnerstag, August 24, 2006 11:02:43 -0500 Jaime Casanova <systemguards@gmail.com> wrote: > Actually the code delete implicit rules based on a field added to > pg_rewrite but that catalog has a unique index on ev_class, rulename: > "pg_rewrite_rel_rulename_index" UNIQUE, btree (ev_class, rulename) > > i guess bernd's comment is about this index giving an error if we try > to insert the new rule with the same name on the same event... No, this wasn't the problem, since we are going to drop any implicit rule that collides with an user defined one (however, this approach is discussable, but nobody has put his comments on this yet and i think this is important for backwards compatibility). I don't think we need ev_kind in the index at all, in my opinion implicit and user defined rules of the same event shouldn't live together (_RETURN rules are marked as implicit ones now, too) -- Thanks Bernd
В списке pgsql-hackers по дате отправления: